<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Creating a Certificate Chain File">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002047366736.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="Online Help for Ransomware Protection-Dorado V700R001C00">
  <meta name="DC.Publisher" content="20241119">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002083287393">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Creating a Certificate Chain File</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002083287393"></a><a name="EN-US_TOPIC_0000002083287393"></a>
  <h1 class="topictitle1">Creating a Certificate Chain File</h1>
  <div id="body8662426">
   <p id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_p17833131211519">If the CA certificate is not a root CA certificate, the imported CA certificate must be a complete certificate chain file. This topic describes how to create a certificate chain file.</p>
   <div class="section" id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_section1861462651819">
    <h4 class="sectiontitle">Prerequisites</h4>
    <p id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_p146318306180">You have obtained the CA certificates of all levels.</p>
   </div>
   <div class="section" id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_section183923157221">
    <h4 class="sectiontitle">Procedure</h4>
    <ol id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_ol105646164186">
     <li id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_li16564416121813"><span>Create a text file, such as <strong id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_b1241613362473">certificate.txt</strong>.</span></li>
     <li id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_li185404529192"><span>Open the certificate files in sequence of root certificate, level-2 certificate, level-3 certificate, and so on. Then, copy the content (from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----") of the certificate files in sequence to the newly created text file.</span><p></p><p id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_p15771614203216">The following figure uses a level-3 CA certificate as an example to show the content of a complete certificate chain file.</p> <p id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_p1223112129328"><span><img id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_image129471453302" src="en-us_image_0000001506169257.png"></span></p> <p></p></li>
     <li id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_li16432153410213"><span>Save the file and change the file name extension to <strong id="EN-US_TOPIC_0000002083287393__en-us_topic_0000001882656746_en-us_topic_0000001456305632_en-us_topic_0000001456489280_b1636182115500">pem</strong>.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002047366736.html">Managing Certificates</a>
    </div>
   </div>
  </div>
 </body>
</html>